package com.longe.config;

import com.longe.constant.Teacher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;

@Configuration
@EnableAsync
@ComponentScan("com.longe")
//@Conditional({LinuxCondition.class})
//@Scope(proxyMode = ScopedProxyMode.INTERFACES)
public class AppConfig {

	@Bean
	public Teacher teacher(){
		return new Teacher();
	}
}